package com.molichuxing.gateway.bff.order.services;


import com.molichuxing.framework.service.RootService;
import com.molichuxing.gateway.bff.order.entity.request.create.OrderEnterpriseDeliveryCreateVo;
import com.molichuxing.gateway.bff.order.entity.request.create.OrderEnterpriseReturnCreateVo;
import com.molichuxing.gateway.bff.order.entity.response.OrderEnterpriseCarReturnVo;

/**
 * 订单相关bff
 *
 * @author zhaopenghui
 * @date 2020年6月2日
 */
public interface OrderEnterpriseCarHandoverBffService extends RootService {


    /**
     * 退租
     *
     * @param orderEnterpriseReturnCreateVo
     * @return
     */
    Boolean createOrderEnterpriseReturn(OrderEnterpriseReturnCreateVo orderEnterpriseReturnCreateVo) throws Exception;

    /**
     * 退租详情
     *
     * @param carHandoverId
     * @return
     */
    OrderEnterpriseCarReturnVo getOrderEnterpriseReturnDetail(Integer carHandoverId);

    /**
     * 交车
     *
     * @param orderEnterpriseDeliveryCreateVo
     * @return
     */
    Boolean createOrderEnterpriseDelivery(OrderEnterpriseDeliveryCreateVo orderEnterpriseDeliveryCreateVo) throws Exception;

}
